package com.sinosoft.service;

import com.sinosoft.configurations.UserCenterFeignConfigurations;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author loujiang
 * @date 2020/12/22 10:39 上午
 * @NOTE:
 */
//@FeignClient(value = "user-center", configuration = UserCenterFeignConfigurations.class)

@FeignClient(value = "user-center")
public interface IServer {

    @GetMapping("/sayHi")
    String sayHi();

    @GetMapping("/retry")
    String Retry(@RequestParam("time") int time);
}
